package com.ruoyi.planthopper.mapper;


import com.ruoyi.planthopper.domain.DetectionPlanthopperLog;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Mr-Le
 */
@Repository
public interface ModelPlanthopperMapper {

    /**
     * 新增图片识别信息
     *
     * @param detectionPlanthopperLog 模型检测信息
     * @return
     */
    public int insertDetectionLog(DetectionPlanthopperLog detectionPlanthopperLog);


    /**
     * 查询识别历史记录
     * @param detectionPlanthopperLog
     * @return
     */
    public List<DetectionPlanthopperLog> selectDetectionLogList(DetectionPlanthopperLog detectionPlanthopperLog);
}
